import junit.framework.TestCase;

class  complextest{
    public static void main(String[] args) {
        complex c = new complex();
        complex c1 = new complex(7,7 );
        complex c2 = new complex(5,9 );
        c1.print();
        c2.print();
        System.out.println("Plus the complex number is :");
        System.out.println((c.add(c1, c2).a + "+" + c.add(c1, c2).b + "i")
                .toString());
        System.out.println("Minus the complex number is :");
        System.out .println((c.minus(c1, c2).a + "+" + c.minus(c1, c2).b + "i")
                .toString());
        System.out.println("Multiply the complex number is :");
        System.out .println((c.multiply(c1, c2).a + "+" + c.multiply(c1, c2).b +"i")
                .toString());
        System.out.println("Divede the complex number is :");
        System.out .println(c.divide(c1,c2).a );

    }
}